Meet string 's':

> 
> AA Well, This is amazing. AA It is. BB Wow. AA As I said.
> 
> 
> 

Here's the code:

```
s = AA Well, This is amazing. AA It is. BB Wow. AA As I said.
separate_words_tuple = s.split()
i = 0
for word in separate_words_tuple:
    check_word = word
    if re.search("[A-Z]+", str(check_word)):
        match = re.search("[A-Z]+", str(check_word))
        if (len(match.group(0)) != 1):
            actor_name = match.group(0) + "_" + str(i)
            print(re.sub(r"[A-Z]+", actor_name, s))
            i += 1

```

Here's what 's' looks like with that code:

> 
> AA\_3 AA\_3ell, AA\_3his is amazing. AA\_3 AA\_3t is. AA\_3 AA\_3ow. AA\_3
>  AA\_3s AA\_3 said.
> 
> 
> 

Here's what I want 's' to look like:

> 
> AA\_0 Well, This is amazing. AA\_1 It is. BB\_2 Wow. AA\_3 As I said.
> 
> 
>