Quantcast
Channel: Adobe Community : All Content - InDesign
Viewing all articles
Browse latest Browse all 62281

Trying to use GREP to truncate names in certain words..

$
0
0

Hello,

 

I am trying to find a way in GREP to select all the text strings that looks like this:

 

12345678wieawoejfoiaw.jpg

65434546wieawoejfoiaw.jpg

23542398wieawoejfoiaw.jpg

90989098wieawoejfoiaw.jpg

23234567wieawoejfoiaw.jpg

24326743wieawoejfoiaw.jpg

 

and leave (replace) it with just the first 8 numbers in each found string.

 

I remember doing something similar awhile back, where I break the type in parts (like digits or amount of characters and then go and get them back for the replace part, but I am drawing a blank...)

 

Any of my GREP friends around?

babs


Viewing all articles
Browse latest Browse all 62281

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>