Hello! Help me build correct RegEx, please for this one. I need take only the first regEx
DSFS81920/3
Letters always this, numbers will be different
If you’re trying to get everything after the letters, use this regex:
\d+[^\d]*\d
.
No
I have this:
fpej
feifjpef
8304913ikdefwelfkmw we;kfmwe
gwrgwer
DSFS81920 / 3 in 09.03.2020
wlekflw
f[owefow
wrpgjp4g0
I need full lines this:
DSFS81920 / 3 in 09.03.2020
You can use this then:
^DSFS.*
.
Oh no.
If wgqefqefq DSFS81920 / 3 в 09.03.2020 afefqe
I need only DSFS81920 / 3 в 09.03.2020
And only first matches!!!
Change it to DSFS.*
and it should work. I thought DSFS would be at the beginning of a line when I added the ^
symbol.
Just now noticed the “afefqe” at the end.
Use this instead to get rid of that part.
DSFS.*\d+