Regular expression to extract a string

0

Good afternoon, I need to extract the following string from this html A62082

<td id="customfield_11400-475700-value" class="value" bgcolor="#ffffff" width="80%">
    A62082
</td>

The problem is that customfield_11400-475700 always changes In short what I need is an expression that extracts everything that begins with the letter A + the next 5 numbers, they are always numbers and it is always the letter A with what it starts.

    
asked by Marcos Trentacoste 07.09.2017 в 22:01
source

1 answer

1

You can occupy online testers. In my point of view, this regular expression would serve you:

[A] [0-9] {5}

How it works

    
answered by 07.09.2017 / 22:20
source