First letter of the word in formular field uppercase? [closed] - html

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
The default form of writing in formular field words is lowercase. I want that the first letter of word begins with Uppercase and than other letters lowercase. How can I format this in formular field ?

If you want the first character to be capitalized you can introduce some javascript (jQuery). Like this:
$( '#targetInput' ).keyup(function() {
$(this).val(function(i, text) {
return text.substr(0,1).toUpperCase() + text.substr(1);
});
});
Here is a fiddle: https://jsfiddle.net/8x8cs76m/

Related

What is the correct html element to present information like Username, Primary Email, Phone number? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
If you want to present the user's username, email, etc on an Account Page what is the correct element to show things like:
<h3>User Account<h3>
Username:
a-user-name
Primary email:
bla#bla.com
Phone:
1111111111
Would <dl><dt><dd> be a good solution or just plain old <p> with brakes, maybe a <div>,
maybe even use h4s for 'Username' and 'Primary email' and <p> or <div> for the values?
What is best for accessibility?
Thank you
You can use an <a> tag containing href="mailto:".
If this will be an address you can use the <address> tag as well.
Example from MDN:
<p>Contact the author of this page:</p>
<address>
jim#rock.com<br>
(311) 555-2368
</address>
This will be friendly for screens readers and such.

Extract values after certain string with Google Sheets [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm trying to extract the values that come after the word 'rawValue=' in the following text with a Google Sheet REGEX formula, so not a script.
nowrap;" rawValue="-18245000000">18,245</div><div id="Y_5"
class="pos" style="overflow:hidden;white-space: nowrap;"
rawValue="19916000000">19,916</div><div id="Y_6" class="pos"
style="overflow:hidden;white-space: nowrap;"
rawValue="20350000000">20,350</div></div><div id="data_i25"
class="rf_crow" style="display:none"><div id="Y_1" class="pos"
style="overflow:hidden;white-space: nowrap;"
rawValue="—">—</div><div id="Y_2" class="pos"
style="overflow:hidden;white-space: nowrap;"
rawValue="—">—</div><div id="Y_3"
The variations that follow 'rawValue=' are fourfold:
a large positive number: 19916000000
a large negative number: -18245000000
a small number: 0
the words mdash or nbsp, in the example above: mdash
The examples above are also the preferable output form.
How would I be able to extract all these cases? Good to know is that the amount of instances of rawValues in a cell varies. So it should work regardless of how many matches there are, if that's even possible..
Can anyone help me with this? Much appreciated!
try:
=ARRAYFORMULA(REGEXEXTRACT(SPLIT(REGEXEXTRACT(A2;
"(rawValue="".+)"); "rawValue="""; 0); "^([^""]+)"))

Replace text inside each line in Notepad++ [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have this:
...something...data-src="TEXT"...something...src="images/BBP/BBP0001/01SMALL.jpg"...something...
...something...data-src="TEXT"...something...src="images/BBP/BBP0001/02SMALL.jpg"...something...
...something...data-src="TEXT"...something...src="images/BBP/BBP0001/03SMALL.jpg"...something...
.
.
.
...something...data-src="TEXT"...something...src="images/BBP/BBP0001/48SMALL.jpg"...something...
I want this:
...something...data-src="images/BBP/BBP0001/01SMALL.jpg"...something...src="images/BBP/BBP0001/01SMALL.jpg"...something...
...something...data-src="images/BBP/BBP0001/02SMALL.jpg"...something...src="images/BBP/BBP0001/02SMALL.jpg"...something...
...something...data-src="images/BBP/BBP0001/03SMALL.jpg"...something...src="images/BBP/BBP0001/03SMALL.jpg"...something...
.
.
.
...something...data-src="images/BBP/BBP0001/48SMALL.jpg"...something...src="images/BBP/BBP0001/48SMALL.jpg"...something...
More precisely, I need to replace the "TEXT" value of the data-src attribute with the value in the src attribute, for each line.
Find what (.*?data-src=")TEXT(.*?src=")(.*?)(".*)
Replace with $1$3$2$3$4

How to retrieve the string from the html source code using ruby regular expression? <span class="bz_comment_time">22:11:43 PDT </span> [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have the following code in my html file.
22:11:43 PDT
I want the following as an output:
22:11:43 PDT
your_html_source[/22:11:43 PDT/] # => "22:11:43 PDT"
You can try this
"<span class='bz_comment_time'>22:11:43 PDT </span>".gsub!(/<\/?[^>]*>/,"")
=> "22:11:43 PDT "

regex that does not allow comma blank together [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have a html input field, which shall not be able to allow ", " (comma and blank space after comma) via the pattern tag but comma and blank extra should be allowed
Looks like these:
<input type="text" name="ausg" pattern="" title="xx">
^$|^[\w,]+$
The ^ and $ match the beginning and the end of the text.
Use \w that include [a-zA-Z0-9_].
, Match a Comma.
+ 1 or more.
UPDATE
^[\w\s]+(?:,[^\s]+)?$
JSFiddle Demo