#1 : 10/02-22 05:22 Larson Randle
Posts: 4
|
How do i grab just the 47ODHW4 in between the "-" and "_" below?
the-mind-reader-47ODHW4_1080_30.000fps_001.mp4 |
#2 : 10/02-22 08:13 David Lee
Posts: 1125
|
Use the Regular Expression: .*-([^_]*).*
Your string will be returned as \1 |
#3 : 19/02-22 03:23 Larson Randle
Posts: 4
|
#4 : 19/02-22 10:28 David Lee
Posts: 1125
|
Reply to #3:
You Didn't say that you wanted to REMOVE the pattern! Try... Remove pattern: .*-\K[^_]*_ Use regular expressions The metacharacter \K is an instruction that the preceding pattern should be excluded from the final match. |
#5 : 20/02-22 01:15 Larson Randle
Posts: 4
|
Reply to #4:
thanks man. you guys are the best! |