I am trying to get sub-strings from a large one using RegEx. The sub-strings' format is as following:
- Starts with number 00-99 followed by an equals sign =.
- May contain at least one character. Any character.
- Ends with underscore '_'.
Example sub-strings:
01=#010.0000#001.0000#+10.0#AA_
02=#020.0000#002.0000#+20.0#BB_
Example full string:
01=#010.0000#001.0000#+10.0#AA_02=#020.0000#002.0000#+20.0#BB_
I tried this expression but it gets me the full string as a result.
^\d{2}=.+_$
I'm missing something. Any help?
^and$as that will always match the entire string or will not match at all.