🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
1 messages
1 total messages Started by Fred_Goldman Fri, 09 Jan 2009 01:06
[JS] Return search results
#2146
Author: Fred_Goldman
Date: Fri, 09 Jan 2009 01:06
8 lines
910 bytes
Is there any way is JS to search a string for a RegEx and return the 
results?

For example:
myString = "hello2009"
myDigits = myString.search(/\d+/)

Currently myDigits = "0". How do I make myDigits = "2009"?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads