Find the URL using GREP

Hi all

Request:

I need to find the end of the URL with ".com", ".org", ".uk", etc. using GREP.

for example,.

[email protected]

[email protected]

rajjjesz.sir555@gmail. Corp.fr

()[email protected]()


Please help for this request as soon as POSSIBLE.


-----------------------------------------------------------------------------------

But, I found the solution for the content to Start with "http" or "www."

Using the Grep Code Forum is: (? I)(http|www) \S+ [\l\u|\d]

Concerning

Siraj



Hi Siraj,

Check it out now.

var doc = app.activeDocument;

app.findGrepPreferences = app.changeGrepPreferences = null;

app.findGrepPreferences.findWhat = "[a-z0-9!" #$% &'* + / = ? ^ _'{|}] +(?:\ \. [a-z0-9!#$%&'*+/=?^_`{|}] +) * @(?: [a-z0-9] (?: [a - z0 - 9-] * [a-z0-9])? \.) + [a-z0-9](?:[a-z0-9-]*[a-z0-9])? « ;

var found = doc.findGrep ();

for (var i = 0; i)<>

{

Alert ([i] found. Happy)

}

Kind regards

Cognet

Tags: InDesign

Similar Questions

  • Trying to find the URL in firefox 15 with DOM, then it breaks down, why?

    I'll try to find the URL of firefox 15 with the help of the DOM and DOM features are failed every time. Is that the DOM supports firefox 15?
    DOM: ISimpleDOMNode, ISimpleDOMDocument, ISimpleDOMText

    Hi R - VR

    I work for SUMO, but I'm not a developer of Firefox. So unfortunately I can't solve your issue.

    This forum is not for questions of programming, but I don't know the right forum to ask them. I'll send a Firefox developer who might know the answer, or who knows the appropriate place to ask this question. And I'll ask him to respond here.

    See you soon!

    .. Roland

    p.s. I did some research on Google and found the following (if you found them already or that they do not help, sorry!), can help to:

  • Find the URL from which the files were downloaded

    I'm trying to locate the url where some of my files have been downloaded. Is there a way to know? I use google chrome but had allowed the download history, then the url can not find more. Can someone tell me where to find them?

    Hi Gnod5,

    There is no option to find the URL by using the downloaded file. As you use Google chrome, please ask your question on the support of Google Chrome Forums, they might help you if there an option to find the URL.

    http://www.Google.com/chrome/

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

  • find the percent with grep sign

    Hello. I know it must be simple, but I can't seem to find it: how to find the percent with grep sign? Or % or -% nor [%] seem to do.

    Thank you

    There is nothing in particular the % sign: you should be able to find it by using one of the three methods you have tried. Have a good overview of the control panel search/replace. Don't find it what domain contain only the %? No space lurking here? It is on a locked layer? You have a style of paragraph or character set in the Panel "Find format '?

    Peter

  • How to find the url of analytics in 11g...

    Hello

    What installation time after that, we use custom ports forgotten the URL of Analytics.is he not find the URL.em and the system works properly.

    connection for EM. Left looking for the deployment of applications expand the folder and you will see the analytics (11.1.1) expand you'll see an analytics (11.1.1) more (if clustered, you will see 2 Analytics for bi_server1 and bi_server2)

    Click on which will open a window in the right part with summary of the options, response and load, entry points

    then under the entry points, you will see the URL with the port number

    Alternatively, go to

    Open the instanceconfig.xml file and search for this tag

    http://ipaddress:9704/Analytics/saw.dll

    That's it your url

    Oh you're all set now :)

    It may be useful

  • RH7 - where can I find the URL?

    I publish a new project using WebHelpPro. All published very well and it is great. Now, I need to find the URL if I can create my hyperlink to the project. Where can I find the URL?

    Your help is greatly appreciated.

    ~ Jennifer

    Check out this post which has the link to HR Server 8:

    http://notcolin.WordPress.com/2009/08/04/RoboHelp-Server-8-areas-the-path-to-enligtenment/

  • How can I find the URL codes for images stored in the Windows Photo Gallery?

    How can I find the URL codes for images stored in the Windows Photo Gallery?

    If you want the path to the current record
    right click to the picture location of a photo...
    and choose... Properties / General tab.
    Location displays the path.

    If you have a photo saved on your hard drive
    car that was downloaded on the net...
    the original URL will appear not in
    the file.

  • Cannot find the URL to download applications of BI 11.1.1.9.2

    Hi all

    Recently, I downloaded the Applications Oracle BI 11.1.1.9.2 for Platform Windows of the RTO. Now since Oracle has published applications BI 11.1.1.10.1 which is the latest version of BI applications, I am unable to find the download link for 11.1.1.9.2.

    Even though I explicitly give the version I need, its redirect me to 11.1.1.10.1 download page.

    In fact, I need the BI 11.1.1.9.2 for the LINUX platformapplications.

    Kindly help me to find the URL to download the required version.

    Ok. I thought that I've updated you. Say that you work around...

    1 give Oracle financial analytics Fusion Edition / Project / HCM

    2. Select Linux x 86-64

    3 continue

    4. under version available - select output replacing

    5. Select appropriate drop down.

  • How to find the url of adf application that has been deployed to the glassfish Server? I try but? It is the image of the page.

    Mr President

    This is the page of the glassfish Server

    gfurl.png

    How to find the url of adf application that has been deployed to the glassfish Server? I try but? It is the image of the page.

    webapplink.png

    In the jdev web module are

    [11: 09:38] wrote the Web for F:\backup of AshCMS\AshCMS\ViewController\deploy\AshCMS_ViewController_webapp.war application Module

    [11: 10:33] wrote the Module Enterprise Application to F:\backup of AshCMS\AshCMS\deploy\AshCMS_Project1_AshCMS.ear

    [11: 10:33] Application deployment...

    [11: 14:24] Application deployed successfully.

    [11: 14:24] time to deployment: 8 minutes, 11 seconds

    [11: 14:24]-deployment is complete.  ----

    what url in the browser.

    Concerning

    Mr President.

    I run my application on built-in web logic server and get the url from there

    http://localhost:7101 / ViewController/faces/MainPage

    then simply change the localhost of 7101 to 8081 as below

    http://localhost: 8081, ViewController, faces, MainPage

    and it works

    Concerning

  • How to find the certificate used to sign app?

    There is a site that uses DBsign UWS to validate personal certificates on a smart card.  I found myself breaking this feature by moving the default Java truststore so I could create a new one with a few roots/split AC that I trust (I have no desire to let apps signed by China, Russia, Turkey and countries spelled with heiroglyphs).  Now, my browser thinks that the UWS is self-signed and rfuses to run it.  I need to find the certificate used to sign this app to see what cert (s) sign, so I can add them to the truststore.  How can I find that?

    To answer my own question:

    jarsigner - verify - verbose - CERT DBsignUWS.jar

  • Is there a a way to view again the description field by clicking on the gold star near the url (useful for typing memos on this site)?

    In previous versions of Firefox, when you click on the star next to the url, you can add this site to your Favorites. Another click and you can edit some fields on this bookmark, URL, file, etc...

    But with FF17, the Description field is gone. You can only find when you manage your bookmarks, which is really easy to use.

    Is it possible to add again the description field by clicking on the gold star? It is very useful to add notes about this Web site, and it's also resynchronize it with addins like Xmarks

    Add code to the file userChrome.css below default @namespace.

    Customization files (interface) userChrome.css and userContent.css (Web sites) are located in the chrome folder in the user profile folder.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #editBMPanel_descriptionRow { visibility: visible !important; }
    
  • How to find the URL of the public website of Photostream?

    Within iOS a shared link to find the "Internet site" for a photo gallery album.  How this is achieved in Photos?

    Hi mkrech,

    When you want to send an invitation to an album shared using Photos on your Mac, you can either send the invitation by e-mail or iMessage, or you can do the Web site of the public album, which is what it looks like you want to do.

    To do this in the album you want to share, click the 'People' button on the Pictures toolbar. Select the Site Web Public checkbox. After a while, the URL of the Web site is displayed.

    See this article for reference - iCloud Photo Sharing FAQ - Apple Support

    Thank you for using communities of Apple Support.

    Best for you.

  • Erase the numbers using GREP?

    Hi guys,.

    Could someone help me please? I only find GREP in inDesign if Im not that clued up on it. I searched the web, but can't seem to find a way to remove the numbers from sequntial a document - is it possible?

    I essentially several documents containing some old page numbers in parentheses - is possible to use GREP to search and delete, including the media? That is to say, [1], [2], [3], etc.

    Thank you!

    Hello

    [Of course, try this: \[\d+\]

    This will find any number of numbers in brackets, including the media.

    Hope that helps.

    --

    Marijan (tomaxxi)

    http://tomaxxi.com

  • How to find a space using grep?

    Hello

    I tried several ways to find a space (SPACEBAR) at the beginning of a paragraph using grep. I can get to find any white space at the beginning of a paragraph, but not only a space (SPACEBAR) specifically? Anyone know how to find?

    Thank you

    Gary

    ↑ followed by a space. There is no special code for a single regular space.

    If you want to see where you have entered one or more spaces, use this code to enter a space character:

    \x{20}

  • Satellite A300 - How can I find the passkey using BT connection?

    I am trying to find the password to connect to my cell phone.
    The competitor asks me a password and my mobile phone to ask a password... How can I find it?

    I have looked at the manual of the computer and phone and can't find anywhere?
    Can anyone help?

    I agree with Rolex
    You can use a key to 4 digits as 1111, 1234, 2222, etc.. It's not really important what numbers you use, but the same key must be used on laptop and mobile phone.

Maybe you are looking for

  • copy/paste crash Word and other applications

    Since the upgrade, I am not able to copy a large amount of text from Word to any application - it blocks of Word and the target application. Small pieces works well. Copy and paste different applications often translates into collage nothing. Does an

  • Satellite L40 18 p unbootable

    Hello people, My Satellite L40 18 p no longer starts. All I get is the power of go green LED. The DVD ROM drive flashes and I can open and close - but that's all. Nothing else happens. Any idea on the forum that I can do to get the laptop again start

  • LJ 1320:1320 duplex

    I lost the ability to duplex print, after installing Windows 10 and pilots it is advisable for this printer and the HP operating system. Suggestions to get this back?

  • Turn off the computer during the upgrade to windows...

    KB3097989 - guard trying (and failing) to install. Latest install ok that I didn't not turn off the computer. I can KB3097989 to install or lose it somehow?

  • How can I remove the announcement of Windows 10 from my PC?

    Hello guys,. I have a problem. I don't like Windows. I bought Windows 8 when it is 1 out. I also bought an annual subscription of the insurance by Microsoft technical support. Both was a brake. I had a tech run some Tweaking.com on my PC Studio softw