Skip to Content
0
Former Member
Feb 01, 2010 at 02:08 PM

Regex - which regex is correct?

20 Views

Hi everybody,

I must deal with regex and unfortunatelly I'm a green in ABAP.

Task: separete first occurence of this &randomtext& in string etc. '&randomtext&&howtodoit&another Text'.

I tried to use *FIND FIRST OCCURRENCE OF REGEX '(&[\w]+&)' * but this is not working in ABAP (I've got &randomtext&&howtodoit& )

Thanks for any help.

Best regards

Martin