Oracle Url validation

2013-04-18  Source: Original Site  Category:Oracle  Views:2 

Advertisement

I have a requirement that
--->URL validation on the form should allow for "mailto:" as well as "http://"

Current URL validation has the following regular expression:
^http[s]?://[-a-zA-Z0-9_.:]+[-a-zA-Z0-9_:@&?=+,.!/~*'%$]*$

I also want to include the following in the above validation. How do I do that?
^mailto:[-a-zA-Z0-9_:@&?=+,.!/~*'%$] --> eg: mailto:[email protected]

Related articles
  • Oracle Url validation 2013-04-18

    I have a requirement that --->URL validation on the form should allow for "mailto:" as well as "http://" Current URL validation has the following regular expression: ^http[s]?://[-a-zA-Z0-9_.:]+[-a-zA-Z0-9_:@&?=+,.!/~*'%$]*$ I also want to inc

  • preg_match URL validating question 2012-01-11

    I'm trying to make a URL validating page, This page open an url and then search in it for the a URL that I'll define it So here's my code : $check = file_get_contents('http://www.google.com/'); if (preg_match("/http:\/\/www\./test\./com\kok.php/", $c

  • Oracle URL Pattern 2012-04-16

    I am trying to understand what this url validation is: ^http[s]?://[-a-zA-Z0-9_.:]+[-a-zA-Z0-9_:@&?=+,.!/~*'%$]*$ Does this look for any of the charecters that exist in : [-a-zA-Z0-9_.:]+[-a-zA-Z0-9_:@&?=+,.!/~*'%$]*$ after http or https:// W

  • how to perform url validation? 2012-08-11

    Can anyone pls help me in performing URL validation.What are all the conditions to b checked for that.

  • Javascript URL validator allows spaces? 2012-10-27

    I have written this URL validator function in Javascript: function checkURL(sURL) { var re = new RegExp("^(http:\/\/|https:\/\/|www\.|//)(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?(\/)*$", 'i'); return sURL.match(re); } Although there is

  • URL Validation Problem 2013-01-22

    Am trying to perform an URL validation, and cant stop the error:"Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in /home/dreamwin/public_html/wolfform.php on line 20" This is the code $url = preg_match ('

  • java.sql.SQLException: Invalid Oracle URL specified 2013-02-23

    I am writing a simple java class to access hr schema tables data but constantly i am getting the same error: java.sql.SQLException: Invalid Oracle URL specified the below are the parameters used by me: DriverManager.getConnection("jdbc:oracle:[email protected]

  • jQuery [validate] URL validation failing on a valid URL. 2014-09-16

    Is there a reason why URL validation is failing on the following URL? http://purchase.tickets.com/buy/TicketPurchase?organ_val=22031&perfcode=BD0608&perfsubcode=2008 It works fine on any other URLs I've tried. My jQuery code looks like this:

  • need help with url validator 2015-05-31

    I am trying to stop a url validation program when the internet connetion goes down. Any suggestions?

  • Oracle URL Redirect Button Still Redirects with Validation Error Messages 2014-05-04

    I need some assistance/clarity on not allowing a redirect button to redirect to page when there are Validation Error Messages appearing on Page. I am using a Form with about 10 Validations. I do not want an end-user to still be able to use/click the

  • Oracle URL parameters for a Database Source in SES 2013-02-04

    Can anyone provide us a valid url format for creating a Database Source in SES? I have followed the SES Admin documentation, and have tried a variety of options, but am not getting the results I desire. I have set up a view to my database table using

  • Oracle XHTML Validation and Accessibility 2013-07-04

    We've recently completed developing some Application Express systems for a customer, and they were disappointed the pages did not pass W3C XHTML validation to meet their accessibility targets. I've had the chance to do a bit of a post-mortem and nail

  • Oracle HTML validation 2015-03-24

    It doesn't appear that HTML validation has gotten much attention here on the Apex forum. I did a search here and in the OTN forums at large and found no threads with the phrase "HTML validation" in them. In any case I'm trying to go down that path, m

  • Oracle OWB Validation error 2012-01-16

    While validating a column in expression operator in a mapping, I am getting the following error message: java.lang.Exception:ValidationError?? java.lang.Exception.API8532:Internal Error:Language Validation can’t create a unique type name when attempt

  • Oracle Problem validating optional elements of type xs:string and xs:date?! 2012-01-29

    The validation of optional XML-elements of type = "xsd:string" seems to differ fom elements of type = "xsd:date". Why don't they behave the same? When i validate my XML-document against a schema where i have defined an element of type = "xsd:string"

  • Image URL Validation 2012-02-14

    Okay, I have a text box that a user can enter the URL of an image in and then hit a button and it will display on the page. What I want to do is put validation on the text box so that it checks to make sure that the last four characters are a period

  • Oracle URL String Substitution 2012-03-25

    I have stored a URL in a varchar2 column in an oracle table, and used the LINK feature in htmldb to create a link out of the text for the column. However, when I try to run the page which was gotten from that text in the database, it fails to perform

  • fopen url validation doesn't work 2012-03-27

    i'm trying to use fopen to check to see if a url entered is valid or not. here's the code i'm using to check the url { // check URL format if (strstr($new_url, "http://")===false) $new_url = "http://".$new_url; // check URL is valid if (@fopen($new_u

  • Oracle XML Validation against regd XML Schema fails for "FLOAT" and "DOUBLE" type 2012-04-10

    I am new to XML stuff - so please excuse me for my ignorance. I have a XML document where I have elemens of "float" and "double" type defined in XML Schema doc as follows: o <xsd:element name="AUTO_RETIREE_DISCOUNT_PERC" type="xsd:float"/> o

  • Oracle URL Region and secured Web transactions 2012-04-13

    I am trying to put an https address into a URL region but I get the following error: ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1674 ORA-29024: Certificate validation failure. Using the address in Internet Explorer returns a us