Member Avatar
Topic by tony75 in Software Development
A regular expression defines the rules by which a string can be analysed as conforming or not conforming to those rules. A numeric sample string does not define what the rules should be, it's just one example - eg we know that "123-322-14365" is valid, but what about "12-322-14365" etc … Reply by JamesCherrill
Member Avatar
Topic by tony75 in Software Development
A regular expression defines the rules by which a string can be analysed as conforming or not conforming to those rules. A numeric sample string does not define what the rules should be, it's just one example - eg we know that "123-322-14365" is valid, but what about "12-322-14365" etc … Reply by JamesCherrill
Member Avatar
Featured Dani 1,665 Replied To a Post in Convert The numerical string to regular expression? How?
Topic by tony75 in Software Development
\d{3}-\d{3}-\d{5} Reply by Reverend Jim
Member Avatar
Featured Jon_7 Replied To a Post in jQuery Datepicker: Set Current Date
Topic by Jon_7 in Web Development
Great help with the dynamic date, but I still need to trigger the event after the spreadsheet loads. The whole point was to have the info appear without selecting the date, but that still cannot be done. Am I saying that in a coherent way?

Thx a ton, everyone Reply by Jon_7
Member Avatar
Featured Jon_7 Gave Reputation to gentlemedia in jQuery Datepicker: Set Current Date
Topic by Jon_7 in Web Development
Add the current date (today) dynamically.

with PHP:

<input id="datePicker" type="date" value="<?php echo date('Y-m-d'); ?>" />

or with JS:


let today = new Date().toISOString().substr(0, 10);
document.querySelector("#datePicker").value = today;


EDIT: off-topic, but where is your [doctype declaration](https://www.w3.org/QA/2002/04/valid-dtd-list.html)? And those meta tags on the first 2 lines should be between the `<head>` … Reply by gentlemedia
Member Avatar
Hi
Is there any simple way or online website that can convert The numerical string like"123-322-14365" to regular expression? Topic by tony75 in Software Development
Member Avatar
Featured rproffitt 1,283 Replied To a Post in Format HD and reinstall original Windows 7
Topic by Violet_82 in Microsoft Windows
Here's a similar method I used since I didn't want to bother with getting restore media.

Step 1: Uninstall my apps.
Step 2: Create TWO new Admin capable accounts. One of them is for use, the other is our backup admin account. Use the Rule Of Two for this with … Reply by rproffitt
Member Avatar
Featured Reverend Jim 2,400 Replied To a Post in Format HD and reinstall original Windows 7
Topic by Violet_82 in Microsoft Windows
Typically a hard drive on an OEM system has multiple partitions. Mine came with five partitions with only one (C:) user partition. You can safely reformat C, and if like me, you created a second user partition (D:) you can format that as well. If you format the entire HD … Reply by Reverend Jim
Member Avatar
Hi chaps, I have a Dell XPS17, dual booting with Windows and Ubuntu on it.
I have to give it away and therefore reinstall windows. Usually, I'd format the whole HD and reinstall Windows, but I don't have the Windows CD – it wasn't dispatched with the laptop unfortunately – … Topic by Violet_82 in Microsoft Windows
Member Avatar
Topic by Jag_1 in Software Development
Dear Jag_1,

I have seen the effort you put into having the result you wanted. But you are not doing it rightly.

You can, like you are doing use regex to pick what you need and modify the file to want you need.

Since, this is your first post on … Reply by 2teez
Member Avatar
rproffitt 1,283 Replied To a Post in On-page SEO?
Topic by Sofia_9 in Digital Marketing
Not to dis you here but at 17 years I hope you research this before asking such a broad question. That is, you should narrow the question so it's not spam bait. Push the value of your question up. Reply by rproffitt
Member Avatar
rproffitt 1,283 Replied To a Post in SQL High Availability Group
Topic by aldeene in Databases
Please read https://www.brentozar.com/archive/2015/10/alwayson-ag-databases-need-bigger-log-files/ first.

In the discussion they note some tool to offload the logs. If you just backup, that's not going to affect the log size, will it? Reply by rproffitt
Member Avatar
rproffitt 1,283 Gave Reputation to BlueHill_1 -3 in How to control google bussiness
Topic by vincity in Cloud-based Applications
Suggest me best website for web hosting. Reply by BlueHill_1
Member Avatar
Featured rproffitt 1,283 Gave Reputation to AndrisP in jQuery Datepicker: Set Current Date
Topic by Jon_7 in Web Development
I see you are using `<input type="date" />` - do not need set date by jQuery, just add value (format `YYYY-MM-DD`), e.g. `<input type="date" value="2018-09-24" />` Reply by AndrisP
Member Avatar
Featured gentlemedia 708 Replied To a Post in jQuery Datepicker: Set Current Date
Topic by Jon_7 in Web Development
Add the current date (today) dynamically.

with PHP:

<input id="datePicker" type="date" value="<?php echo date('Y-m-d'); ?>" />

or with JS:


let today = new Date().toISOString().substr(0, 10);
document.querySelector("#datePicker").value = today;


EDIT: off-topic, but where is your [doctype declaration](https://www.w3.org/QA/2002/04/valid-dtd-list.html)? And those meta tags on the first 2 lines should be between the `<head>` … Reply by gentlemedia
Member Avatar
pty 798 Replied To a Post in Sorting and loops in Ruby
Topic by Mirty in Software Development
Additionally, I forgot the sorting element.

For an array of hashes you'll notice that if you try to sort directly the comparison will fail:

[{name: "Ringo"}, {name: "John"}, {name: "Paul"}, {name: "George"}].sort
ArgumentError: comparison of Hash with Hash failed

You need to *tell* Ruby how to sort, using `#sort_by`:

[{name: … Reply by pty
Member Avatar
Featured Jon_7 Gave Reputation to AndrisP in jQuery Datepicker: Set Current Date
Topic by Jon_7 in Web Development
I see you are using `<input type="date" />` - do not need set date by jQuery, just add value (format `YYYY-MM-DD`), e.g. `<input type="date" value="2018-09-24" />` Reply by AndrisP
Member Avatar
Featured Jon_7 Replied To a Post in jQuery Datepicker: Set Current Date
Topic by Jon_7 in Web Development
Kinda makes sense, but it's not working out for me. I believe I need to trigger the event after it the spreadsheet loads, as all it does is show the date I added with the value tag without changing anything. Only when I change the date afterwards does it give … Reply by Jon_7
Member Avatar
pty 798 Replied To a Post in Sorting and loops in Ruby
Topic by Mirty in Software Development
You have made a decent start. In addition to looping you need to think about how you might store the user-entered results.

In order to loop you're probably best using the `#times` method of an integer, this means you'll have to convert your `gemstoneNumber` to an integer before looping.

[1] … Reply by pty
Member Avatar
Featured pty 798 Gave Reputation to AndrisP in jQuery Datepicker: Set Current Date
Topic by Jon_7 in Web Development
I see you are using `<input type="date" />` - do not need set date by jQuery, just add value (format `YYYY-MM-DD`), e.g. `<input type="date" value="2018-09-24" />` Reply by AndrisP
Member Avatar
Reverend Jim 2,400 Replied To a Post in fix my problem
Topic by ribhu in Web Development
We're not going to do your work for you because

1. You haven't shown that you have put in any effort to do it yourself
1. You picked a very rude thread title
1. You didn't take the time to read the [Daniweb Posting Rules](https://www.daniweb.com/welcome/rules) Reply by Reverend Jim
Member Avatar
Featured AndrisP 193 Replied To a Post in jQuery Datepicker: Set Current Date
Topic by Jon_7 in Web Development
I see you are using `<input type="date" />` - do not need set date by jQuery, just add value (format `YYYY-MM-DD`), e.g. `<input type="date" value="2018-09-24" />` Reply by AndrisP
Member Avatar
ribhu Created fix my problem
hi i make a page for registration and login after that i uploaded image ..i want to show those image by own user id..plz help me..thanks in advance :) Topic by ribhu in Web Development
Member Avatar
Sofia_9 Created On-page SEO?
hi There! i am new to the Forum I want know about On-page SEO. tell some tips and tricks of on-page Topic by Sofia_9 in Digital Marketing
Member Avatar
BlueHill_1 -3 Replied To a Post in How to control google bussiness
Topic by vincity in Cloud-based Applications
Suggest me best website for web hosting. Reply by BlueHill_1
Member Avatar
shaik_4 Replied To a Post in Link Building Techniques
Topic by Sana_13 in Search Engine Strategies
seo
[Click Here](http://www.inspiringwave.in)Social Bookmarking
Guest Posting
Internal Links
Web 2.o
Infographics
Image sharing Reply by shaik_4
Member Avatar
Topic by PrinceyPaul in Digital Marketing
I would personally recommend you to try "**[multi vendor marketplace](https://pofitec.com/multi-vendor-shopping-cart-software.php)**" platform. It has essential ecommerce features with powerful ecommerce platform. Reply by Peter_75
Member Avatar
Topic by rubyjean in Digital Marketing
Greater personalisation for users, every user wants to feel special so personalised offers or services as per user will improve your crm Reply by amarnath_2
Member Avatar
On my page https://fiftyallstars.com/50/curriculum.html , I have some basketball drills loading from a google spreadsheet of mine. Only thing is after it loads, I can't seem to get the datepicker to show today's date. My players get confused by having to select the date each time, and I'd rather it … Topic by Jon_7 in Web Development
Member Avatar
This is a program that ask input from the user about the characteristics of a gemstone then prints to the screen. Things like color, price and name. I have written it to an extend where the user enters all this and prints them out. Am now stuck where I should … Topic by Mirty in Software Development