Detecting email and web address from textarea

I want that if the user is putting email or web address in the text area that should be held and not be shown.
any clue please
thanks

regex?
A quick and crude attempt (completely untested):
// email
"\\s*[^@]+@[^\\s]+"
// web
"\\s*https?://[\\s]+"
thanks for your reply and if i wanna add (dot, com, at) then?
thanks again

Similar Messages

  • How do I hide my email and ip address from a website?

    I am on a simple free fan oriented college sports team opt in website, and I keep getting booted because I posted a picture in the comments section - totally PG. The moderator is being a punk and keeps booting me after two days no matter what different or new email I register with. I am 100% minding my own business and not being disruptive and simply reading about this particular college team I follow and all the commentary other similar fans post. I did not use any foul language or post any inappropriate messages. The moderator still keeps removing me after two or three days no matter what I do or do not do. He is just simply being difficult. I tried emailing and communicating with him and he says he does not have time for me and deletes my registered user name and blocks my access. What can I do to make myself look like a new registrant and just read the free articles like any other user without incurring the ire of this whiny little webmaster?
    Message was edited by: Bergs85

    You don't have to shut down the computer to switch accounts. All you do is click the Apple symbol in the upper left and choose Log Out and that's it. You can also set up Faster User Switching by:
    1. Open System Preferences - Accounts
    2. Click Login Options
    3. Check the box called "Show fast user switching menu as" then choose from either icon, short name or name.
    Then when someone wants to switch users they can. The advantage of this method is if you are have a document open and don't want to close it the document will remain open. If the other user attempts to shut down the computer they can't until you have logged out thereby saving all your data.
    A very simple and elegant solution.

  • Moving Exchange email and web hosting from Godaddy

    While I consider myself very well versed in everything PC/Mac, I am finding that setting up a newly installed OSX 10.6 server is a little more difficult than originally imagined to set up.
    I am running 10.6 server off an iMac with 4gb ram and plenty of storage space as well as a great upload speed thanks to FiOS. I would like to first move my email from godaddy since their hosted exchange service is rather expenssive for a small business. If someone could provide a relatively easy step by step on setting this up for a group of 5 users, it would be greatly appreciated.
    Thanks!

    First question - do you have a static IP address on your FiOS link?
    If you don't have a static address, but have a dynamic address, then stop right here and don't think about moving on until you have a static address. Seriously.
    On the other hand, if you do have a static address then all you need to do is:
    1) create the user accounts on the server
    2) enable mail service on the server (SMTP and at least one of IMAP and POP)
    3) Configure your router to route incoming connections on port 25 to your server (and port 143 and/or 110 if you want IMAP or POP access from outside your network)
    4) change your DNS to add an MX record for your domain that maps to your static IP address
    The major issue you'll have is in setting up your user directory - that will require functional local DNS, so take your time with that first and work on each step one at a time.

  • How to turn off email and web site links?

    I'm making my own letterhead template for my massage business.
    I want to turn off the automatic linking to my email address and web site which are both included on my letterhead. It's just annoying that every time I accidentally click on either of those I'm taken to my web site or my computer is trying to email me!
    I only snail mail my letterhead and have no use for the linking. I can change the type format so it looks like the rest of the letterhead, but I can't turn off the linking.
    Paul

    There is an option under Preferences > Auto-Correction to "Automatically detect email and web addresses." You want that one unchecked. There is also a link inspector, second from the right, with options to enable hyperlinks or make all hyperlinks inactive. Seems contradictory to me & I've found that if a document already has some linked text, changing these preferences doesn't change the existing links. And, if you paste in something with a link the link will still be active.

  • Allowing visiters to leave email or web address?

    I am very new to iweb but on my last blog[non iweb] when a person left a comment they also could leave their email and web address. I found this very handy for answeriing questions or responding to comments. I also enjoyed visiting my reader's sites. Does iweb allow this? If so I haven't figured out how to set it up and would appreciate any help....

    Ah I see that now on the web site itself but not from iweb~ my last blog I could see comments and their name was hyperlinked to website and also I could reply to them directly from comment on my template. Now I can link to their websites from mine[not iweb itself] and there is no email them back function... unless I am missing something?

  • TS3276 Can't open web addresses from an email-get an ERROR message saying-no application could be found

    Can't open web addresses from an email-get an ERROR message saying-no application could be found

    Hi, I had the same problem. I finally figured it out. Plug in the USB cord to your ipad, but beofre plugging it into your computer make sure your ipad is not in the locked or sleep mode. Once I did this, my photos showed up and started downloading. Hope that helps you!

  • Safari is not working on the Mac. Internet is fine, mail, App Store etc all working and connecting to Internet fine. Done the latest software update, still not working. When selecting a web address from bookmarks or typing in search bar, partial blue bar.

    Safari is not working on the Mac. Internet is fine. mail, App Store etc all working and connecting to Internet fine. Done the latest software update, still not working. When selecting a web address from bookmarks or typing in search bar, partial blue bar only and coloured wheel appears.

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the malfunctioning extension by uninstalling and reinstalling it. That will revert its settings to the defaults.
    If extensions aren't causing the problem, see below.
    Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found

  • How do I display, copy, and paste a web address from an open Safari window please?

    I'm new to Mac and Safari. 
    I'm used to being able to just cut and paste a web address from a page I'm on into a discussion, but I don't see an address bar to copy from.
    I'm sure it is there somewhere, which toolbar or keyboard shortcut am I missing, please?
    Gordon_M

    Hello:
    While Safari is open, go to the menu bar>view.  Select "customize toolbar."  You may use the default, or customize it to yoru liking.
    Then when you wish to copy an address, you simply click on the favicon and go to edit>copy.
    Barry

  • I use to be able to rotate my iPhone and change the view of an image, Web page, email, and so on, from portrait to landscape, but after update, I cannot. I can only view in portrait mode. Anybody know what's up with that?

    I use to be able to rotate my iPhone and change the view of an image, Web page, email, and so on, from portrait to landscape, but after update, I cannot. I can only view in portrait mode. Anybody know what’s up with that?

    You need to do the basic troubleshooting steps described in the User Guide, Appendix B.
    Restart phone
    Reset phone
    Restore in iTunes using a backup
    Restore in iTunes as new, without using a backup
    If restoring as new doesn't help, there is a hardware failure in the phone that needs evaluation by Apple.

  • Converting email or web address into *****

    I am trying to convert email or web address into *****
    text=text.replaceAll(".com","*****");
    text=text.replaceAll(".net","*****");
    text=text.replaceAll(".org","*****");it replace .com and without com as well e.g. if there is company, network or organization it also change without caring dot?
              text1=text1.replaceAll("www","http://www");
              text1=text1.replaceAll("www1","http://www1");
              text1=text1.replaceAll("(?:ht|f)tp://\\S+(?<![!.?])", "<a href=\"#\" target=\"_blank\">*****</a>");but I can not control e.g. hotmail.com or yahoo.com or kkk.com
    is there any simple way to convert email or web address into *****
    thanks & regards

    farakh wrote:
    prometheuz wrote:
    Far from perfect to say the least (watch out for false positives!), but it might give you some new ideas:
            String text = "My e-mail address id [email protected] and you can find my "+
    "website at http://somesite.co.uk, ok?";
    String domainRegex = "[\\w]+(([.][\\w]+){1,2})";
    String emailRegex = "[\\w]+@"+domainRegex;
    String siteRegex = "(https?://)?(www[.])?"+domainRegex;
    text = text.replaceAll(emailRegex+"|"+siteRegex, "*****");
    System.out.println(text);Good luck.
    this code changes the following also that shouldn't be:
    SS201/202/304/316 tube.carbon pipe, fittings.
    converts SS201/202/304/316 ***** pipe, fittings.
    and how can v solve this problem?
    my website is yahoo dot com
    and my email is kk at hotmail dot com
    thanks & regardsLike I said: the code is far from perfect and will probably produce false positives (as you already mentioned). Try to play with it so that it suits your needs.

  • How do you remove a web address from compatibility view option using a script?

    How do you remove a web address from compatibility view option in IE using a script or a GPO? 
    Not seeing any options.
    Casey
    This topic first appeared in the Spiceworks Community

    luckyfromhialeah wrote:
    How do you remove a web site from popular list?
    If you mean from the Safari menubar item "Popular"
    Choose "Show All Bookmarks" from the Bookmark menu in the main menubar, or click the icon for that in Safari's menubar -
    The page that opens should show a list of Bookmarks. In the Left column, click the item under Collections named Bookmarks Bar.
    In the new view, locate the folder named Popular and click the reveal triagle to the left of its name - it will open and reveal all the items listed in Popular.
    Find the one you want to remove, click it once to select it, then press the Delete key on the keyboard.

  • Why can't I select and drag addresses from contacts to mail

    Why can't I select and drag addresses from contacts to mail

    Re: can't drag email addresses from contact list

  • How to reconfigure notification email and smtp addresses

    Hi all,
    I want to reconfigure notification email and smtp addresses on single instance db (10.2 and 11.1 versions). How this is done?

    emca -reconfig dbcontrol db [email protected]
    /opt/oracle/product/11gR1/db/bin/emca [operation] [mode] [dbType] [flags] [parameters]
    -h | h | -help | help: prints this help message
    -version: prints the version
    -config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]: configure Database Control for a database
    -config centralAgent (db | asm) [-cluster] [-silent] [parameters]: configure central agent management
    -config all db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]: configure both Database Control and central agent management
    -deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]: de-configure Database Control
    -deconfig centralAgent (db | asm) [-cluster] [ -silent] [parameters]: de-configure central agent management
    -deconfig all db [-repos drop] [-cluster] [-silent] [parameters]: de-configure both Database Control and central agent management
    -addInst (db | asm) [-silent] [parameters]: configure EM for a new RAC instance
    -deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified RAC instance
    -reconfig ports [-cluster] [parameters]: explicitly reassign Database Control ports
    -reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database Control deployment
    -displayConfig dbcontrol -cluster [-silent] [parameters]: displays information about the RAC Database Control configuration
    -migrate -from dbcontrol -to centralAgent [-repos drop] [-cluster] [-silent] [parameters]: migrates EM configuration from Database Control to central agent
    -upgrade (db | asm | db_asm) [-cluster] [-silent] [parameters]: upgrades an earlier version of the EM configuration to the current version
    -restore (db | asm | db_asm) [-cluster] [-silent] [parameters]: restores the current version of the EM configuration to an earlier version
    Parameters and Options:
    [parameters]: [ -respFile fileName ] [ -paramName paramValue ]*
    db: perform configuration operation for a database (including databases that use ASM)
    asm: perform configuration operation for an ASM-only instance
    db_asm: perform upgrade/restore operation for a database and an ASM instance
    -repos create: create a new Database Control repository
    -repos drop: drop the current Database Control repository
    -repos recreate: drop the current Database Control repository and recreate a new one
    -cluster: perform configuration operation for a RAC database
    -silent: perform configuration operation without prompting for parameters
    -backup: configure automatic backup for a database
    Parameters for single instance databases
    ORACLE_HOSTNAME: Local hostname
    SID: Database SID
    PORT: Listener port number
    ORACLE_HOME: Database ORACLE_HOME
    HOST_USER: Host username for automatic backup
    HOST_USER_PWD: Host user password for automatic backup
    BACKUP_SCHEDULE: Automatic backup schedule (HH:MM)
    EMAIL_ADDRESS: Email address for notifications
    MAIL_SERVER_NAME: Outgoing Mail (SMTP) server for notifications
    ASM_OH: ASM ORACLE_HOME
    ASM_SID: ASM SID
    ASM_PORT: ASM port
    ASM_USER_ROLE: ASM user role
    ASM_USER_NAME: ASM username
    ASM_USER_PWD: ASM user password
    SRC_OH: ORACLE_HOME for the database to be upgraded
    DBSNMP_PWD: Password for DBSNMP user
    SYSMAN_PWD: Password for SYSMAN user
    SYS_PWD: Password for SYS user
    DBCONTROL_HTTP_PORT: Database Control HTTP port
    AGENT_PORT: EM agent port
    RMI_PORT: RMI port for Database Control
    JMS_PORT: JMS port for Database Control
    EM_SWLIB_STAGE_LOC: Software library location
    PORTS_FILE: Path to a static file specifying the ports to use (Default value : ${ORACLE_HOME}/install/staticports.ini).
    Additional Parameters for cluster databases
    CLUSTER_NAME: Cluster name
    DB_UNIQUE_NAME: Database unique name
    SERVICE_NAME: Service name
    EM_NODE: Database Control node name
    EM_SID_LIST: Agent SID list [comma separated]

  • Optimize performance for dedicated email and web use?

    Just bought one of the new MBPs. I am now using the G4 as a dedicated workstation with an external monitor exclusively for email and surfing. Email performance is fine, but it takes a long time to load web pages. What can I do to tweak its performance?

    Ah, I see you have a lot of catching up, and many questions.
    You appear to be running OS10.4.11, which is fine. In the future, upgrades for bugs and security will diminish as Apple phases it out.
    OS updates: Have Mac running and connected to the internet. Under the Apple menu, choose "Software Update." This connects to the Apple software servers and determines if you need any Apple software updates on your Mac. Follow instructions and do all updates it tells you about. After doing this, run Software Update again until it says all software is up to date.
    Flash and Shockwave are software plug-ins that Adobe makes for your web browser (like Apple's Safari). These plugins are generally used to display animations or video in the browser. They tend to use a lot of CPU power, thus potentially slowing down the computer. You have to go to the Adobe site and check for the latest free versions of these plugins for your computer.
    Java and Javascript are programming environments that can work with the OS to display various tricks on web pages, such as drop-down menus. Sometimes they cause security concerns, so the Preferences settings for web browsers allow turning them off or on. When running Safari, under the Safari menu column, choose Preferences..., then in the resulting preferences window, choose the Security tab. There are checkboxes for Web Content for Java, Javascript, plugins and popups. It would be faster and more secure to NOT run these, but you wouldn't see a lot of many web pages. Java is updated from Apple Software Update.
    Many other general aspects of your computer affect speed.
    -For best speed, you want as much RAM (memory) as the machine can take in your case (probably 2GB on 2 DIMMs IIRC). I run with 1GB however, and fine it adequate for email and web. Under the Apple menu, choose "About this Mac" and the resulting popup tells how much RAM you have.
    -You want at least 10% of the space on the hard drive to be free - it's used for virtual memory when real memory runs low. Click once on the icon of the main hard drive, usually named, "Macintosh HD." Then under the FILE menu, choose "Get Info." The resulting popup describes, among other things, the total capacity of the drive, how much is available, and how much has already been used.
    -For speed, you should also run from AC power pack. There are some settings in System Preferences/Energy Saver that can reduce CPU speed during battery operation.
    -You should avoid running any software that steals CPU power. There should be no need to run tricky software for just email and web, so getting rid of all non-essential software should help. How to check everything is beyond the scope of this post.
    -Check the speed of your internet connection. There are several free, online net speed testers. Note, they usually use either Flash or Java/Javascript! one is http://www.speedtest.net Note that the speed will varying depending on time of day, location of test endpoint, and a zillion other factors.
    -The Powerbook G4 is getting old and slow compared to the latest machines. I just got the New York Times homepage in about 5 seconds on my Powerbook G4 (ethernet, cleared Safari cache and history first). On a MacPro dual 3GHz Intel Xenon, it's maybe half that time. There are many factors you have no control over. On many web pages, advertising forms a lot of the page, and those ads come from other servers, often slowing down the page. I avoid even trying to play Flash videos on the G4.
    You could have other problems, too, hardware or software. Sometimes, it just pays to buy a newer model.

  • How to take off email and website subscription from 2006  iMac to sell?

    I have a desktop Imac that I bought in 2006 and would now like to sell. I also bought a laptop in 2007 that I prefer using. How do I remove the email and website subscription from the desktop model without messing up the laptop info? They seem to be connected at this point and I am not sure how to take off the information from one without damaging the other.

    Have you solved this problem? If not, can you be more specific? You can change the email account information using Email preferences. Which website subscription would you like to remove?

Maybe you are looking for